package com.ashley.thread.test4;

/**
 * @author ashley
 * @date 2019/9/27-14:30
 */
public class MyThread1 extends Thread {
    private int count=5;

    @Override
    public void run() {
        super.run();
        count--;
        System.out.println("由线程" + this.currentThread().getName()+"计算, count=" + count);
    }
}

